package com.leihub.xlfiletools.html.pojo;


import com.leihub.xlfiletools.html.annotation.DisplayField;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author lei
 * @version 1.0
 * @description: TODO
 * @date 2024/8/3 9:57
 */

@Data
@AllArgsConstructor
public class SystemMetricsData {

    @DisplayField(name = "机器类型", group = 0)
    private String hostType;

    @DisplayField(name = "IO Max", groupName = "IO", group = 1)
    private BigDecimal ioMax;

    @DisplayField(name = "IO Avg", groupName = "IO", group = 1)
    private BigDecimal ioAvg;

    @DisplayField(name = "CPU Max", groupName = "CPU", group = 2)
    private BigDecimal cpuMax;

    @DisplayField(name = "CPU Avg", groupName = "CPU", group = 2)
    private BigDecimal cpuAvg;

    @DisplayField(name = "Memory Max", groupName = "Memory", group = 3)
    private BigDecimal memMax;

    @DisplayField(name = "Memory Avg", groupName = "Memory", group = 3)
    private BigDecimal memAvg;

    @DisplayField(name = "Disk Max", groupName = "Disk", group = 4)
    private BigDecimal diskMax;

    @DisplayField(name = "Disk Avg", groupName = "Disk", group = 4)
    private BigDecimal diskAvg;
}